<div class="search_top">
	<ul class="pagenavi">
		<li><a href="/">首页</a></li>
		<li class="li2">{{if $isModify}}修改{{else}}添加新{{/if}}企业</li>
	</ul>
</div>
<div class="add_cor_main">
	<div class="search_main_title">{{if $isModify}}修改{{else}}添加新{{/if}}企业</div>
	<div class="add_cor_main_1">
		<p>
			温馨提示：<br/>
			1.添加新企业前请先检查该企业是否已存在。<a href="javascript:void(0);" id="click_check">点击检查</a><br/>
			2.用户登录之后才能添加企业。<br/>
			3.用户对自己添加的企业有权进行更新、维护等操作。<br/>
			4.本网站暂时只收录IT类企业。
		</p>
		<div class="relate_cor" style="display:none;">
			<em></em>
			<ul></ul>
		</div>
		<form name="cor_form" action="/add_cor.php" method="post" enctype="multipart/form-data">
		<input type="hidden" name="cmd" value="add">
		<input type="hidden" name="cor_id" value="{{$corInfo.id}}">
		<table cellpadding="0" cellspacing="0" border="0" align="center">
			<tr>
				<td class="td1">企业名称<font color="#FF0000">*</font>：</td>
				<td class="td2"><input type="text" name="name" id="name" maxlength='30' style="width:200px;" value="{{$corInfo.name}}"/></td>
			</tr>
			<tr>
				<td class="td1">地址<font color="#FF0000">*</font>：</td>
				<td class="td2">
				{{html_options name="city_id" id="city_id" options="$city_arr" selected="$city_id"}}
				{{html_options name="district_id" id="district_id" options="$district_arr" selected="$district_id"}}
				<input type="text" name="address" id="address" maxlength='60' style="width:200px;" value="{{$corInfo.address}}"></td>
			</tr>
			<tr>
				<td class="td1">规模：</td>
				<td class="td2">
					{{html_options name="scale" id="scale" options="$cor_scale_arr" selected="$scale"}}
				</td>
			</tr>
			<tr>
				<td class="td1">企业性质：</td>
				<td class="td2">
					{{html_options name="type" id="type" options="$cor_type_arr" selected="$type"}}
				</td>
			</tr>
			<tr>
				<td class="td1">企业类型：</td>
				<td class="td2">
					{{html_checkboxes name="ccid" options=$cor_ccid_arr}}
				</td>
			</tr>
			<tr>
				<td class="td1">邮箱：</td>
				<td class="td2"><input type="text" name="email" id="email" maxlength='100' style="width:200px;ime-mode:disabled;" value="{{$corInfo.email}}"></td>
			</tr>
			<tr>
				<td class="td1">电话<font color="#FF0000">*</font>：</td>
				<td class="td2"><input type="text" id="tel" name="tel" maxlength='20' style="ime-mode:disabled" value="{{$corInfo.tel}}"></td>
			</tr>
			<tr>
				<td class="td1">传真：</td>
				<td class="td2"><input type="text" name="fax" id="fax" maxlength='20' style="ime-mode:disabled" value="{{$corInfo.fax}}"></td>
			</tr>
			<tr>
				<td class="td1">企业主打产品：</td>
				<td class="td2"><input type="texe" name="product" id="product" maxlength='60' style="width:200px;" value="{{$corInfo.product}}"></td>
			</tr>
			<tr>
				<td class="td1">企业图片：</td>
				<td class="td2"><input type="file" name="corImg">{{if $corInfo.corImg}}&nbsp;<a href="{{$corInfo.corImg}}" target="_blank">点击看图</a>{{/if}}</td>
			</tr>
			<tr>
				<td class="td1">企业介绍<font color="#FF0000">*</font>：</td>
				<td class="td2">
					<textarea cols="40" rows="10" name="description" id="description">{{$corInfo.description}}</textarea>
				</td>
			</tr>
			<tr>
				<td class="td1">验&nbsp;证&nbsp;码<font color="#FF0000">*</font>：</td>
				<td class="td2"><input type="text" style="width:70px;ime-mode:disabled" id="word" name="word" maxlength="4" tabindex="3">&nbsp;<img src="/login.php?cmd=captcha" align="absmiddle" onClick="this.src='/login.php?cmd=captcha&'+Math.random()" style="cursor:pointer;" title="点击换图片" alt="点击换图片"></td>
			</tr>
			<tr align="center">
				<td colspan="2"><br/><img src="/images/submit.gif" onclick="javascript:var evt = event || window.event;corCheck(evt);" style="cursor:pointer;"></td>
			</tr>
		</table>
		</form>
	</div>
</div>
</div>
<!--main end -->
<script type="text/javascript" src="/script/jquery.js"></script>
<script type="text/javascript" src="/script/common.js"></script>
<script type="text/javascript" src="/script/add_cor.js"></script>
<script type="text/javascript">
	{{if $isModify}}
	var title = document.title;
	title = title.replace("添加新","修改");
	document.title = title;
	{{/if}}
</script>